package com.sigmatrix.h5.dao;

import java.util.List;

import com.sigmatrix.h5.dto.PackStandardData;
import com.sigmatrix.h5.entity.PackStandard;
import com.sigmatrix.h5.exception.DaoException;
import com.sigmatrix.sc.jdbc.common.dao.Dao;
/**
 * 
 *@ClassName: PackStandardDao
 *@Description: 包装规格
 *@author MH
 *@date 2017年9月27日 上午9:28:16
 */
public interface PackStandardDao extends Dao<PackStandard, Integer>{

	/**
	 *@Title: findById
	 *@Description: 根据主键查找包装规格
	 *@return PackStandard
	 *@author youjun
	 *@date 2017-06-24 18:52:13
	 *@param id
	 *@param enterpriseCode
	 *@return
	 *@throws DaoException 
	 */
	PackStandard findById(final Integer id, final String enterpriseCode) throws DaoException;
	
	/**
	 *@Title: findListByCondition
	 *@Description: 根据条件查找包装规格列表
	 *@return List<PackStandard>
	 *@author youjun
	 *@date 2017-06-24 18:52:13
	 *@param packStandard
	 *@param enterpriseCode
	 *@return
	 *@throws DaoException
	 */
	List<PackStandard> findListByCondition(final PackStandard packStandard, final String enterpriseCode) throws DaoException;

	/**
	 *@Title: findPartColumnListByCondition
	 *@Description: 根据条件查找包装规格部分字段的列表
	 *@return List<PackStandardData>
	 *@author youjun
	 *@date 2017年6月26日 下午2:28:12
	 *@param packStandard
	 *@param enterpriseCode
	 *@return
	 * @throws DaoException 
	 */
	List<PackStandardData> findPartColumnListByCondition(PackStandard packStandard, final String enterpriseCode) throws DaoException;
}
